import requset from './network'
export function getSelectList(IP, lFuncNo, lPhone,lstatus,startTime,endTime,strwhere) {
    return requset({
        url: '/selectList',
        data: {
            IP,
            lFuncNo,
            lPhone,
            lstatus,
            startTime,
            endTime,
            strwhere
        },
    }).catch(err => {
        wx.showModal({
            title: '提示',
            content: '访问服务器失败！',
            showCancel: false,
            confirmText: '确定',
        })
    })
}
export function getfindItemLtype(IP,lmobile,lbarcode,ltype){
    return requset({
        url: '/findItemLtype',
        data: {
            IP,
            lmobile,
            lbarcode,
            ltype,
        },
    })
}
export function getselectDeitialList(IP,lFuncNo,strwhere){
    return requset({
        url: '/selectDeitialList',
        data: {
            IP,
            lFuncNo,
            strwhere,
        },
    })
}
export function getselectReferList(IP,lFuncNo,lposition,lfiledname,ltype,leftetj){
    return requset({
        url: '/selectReferList',
        data: {
            IP,
            lFuncNo,
            lposition,
            lfiledname,
            ltype,
            leftetj
        },
    })
}